home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / basic / ace24dist.lha / ace24.lha / include / graphics / Collide.h < prev    next >
C/C++ Source or Header  |  1996-09-10  |  1KB  |  39 lines

  1. #ifndef GRAPHICS_COLLIDE_H
  2. #define GRAPHICS_COLLIDE_H 1
  3. /*
  4. ** collide.h for ACE Basic
  5. **
  6. ** Note: Translated to ACE by ConvertC2ACE
  7. **       @ MapMeadow Software, Nils Sjoholm
  8. **
  9. **
  10. ** Date: 09/01/95
  11. **
  12. **
  13. */
  14.  
  15.  
  16. /* These bit descriptors are used by the GEL collide routines.
  17.  *  These bits are set in the hitMask and meMask variables of
  18.  *  a GEL to describe whether or not these types of collisions
  19.  *  can affect the GEL.  BNDRY_HIT is described further below 
  20.  *  this bit is permanently assigned as the boundary-hit flag.
  21.  *  The other bit GEL_HIT is meant only as a default to cover
  22.  *  any GEL hitting any other  the user may redefine this bit.
  23.  */
  24. #define BORDERHIT 0
  25.  
  26. /* These bit descriptors are used by the GEL boundry hit routines.
  27.  *  When the user's boundry-hit routine is called (via the argument
  28.  *  set by a call to SetCollision) the first argument passed to
  29.  *  the user's routine is the address of the GEL involved in the
  30.  *  boundry-hit,  and the second argument has the appropriate bit(s)
  31.  *  set to describe which boundry was surpassed
  32.  */
  33. #define TOPHIT    1
  34. #define BOTTOMHIT 2
  35. #define LEFTHIT   4
  36. #define RIGHTHIT  8
  37.  
  38. #endif  /* GRAPHICS_COLLIDE_H */
  39.